﻿using UnityEngine;

public class EnemyBase : MonoBehaviour
{
    [Header("生命")] [SerializeField] public int health = 100;
    [SerializeField] public int healthMax = 100;
    [Header("死亡收益")] [SerializeField] public int exp = 5;
    [SerializeField] public int coin = 2;
    [Header("移动")] [SerializeField] public float speed = 3;
    public bool isFacingRight = true;
    [Header("攻击")] [SerializeField] public int damage = 10;
    [SerializeField] public float attackCoolTime = 2.0f;
    public bool isDead;
}